@extends('layouts.wx')

@section('content')
<form action="" name="fm_pay" method="get">
<div class="weui-form-preview">
  <div class="weui-form-preview__hd">
    <label class="weui-form-preview__label">订单状态</label>
    <em class="weui-form-preview__value">{{$order->status_text}}</em>
  </div>
  <div class="weui-form-preview__bd">    
    <div class="weui-form-preview__item">
      <label class="weui-form-preview__label">行程</label>
      <span class="weui-form-preview__value">{{$order->start}}&nbsp;-&nbsp;{{$order->end}}</span>
    </div>
    <div class="weui-form-preview__item">
      <label class="weui-form-preview__label">乘客姓名</label>
      <span class="weui-form-preview__value">{{$order->name}}</span>
    </div>
    <div class="weui-form-preview__item">
      <label class="weui-form-preview__label">联系电话</label>
      <span class="weui-form-preview__value">{{$order->phone}}</span>
    </div>
    <div class="weui-form-preview__item">
      <label class="weui-form-preview__label">乘车时间</label>
      <span class="weui-form-preview__value">{{$order->date}}</span>
    </div>
    <div class="weui-form-preview__item">
      <label class="weui-form-preview__label">详细行程</label>
      <span class="weui-form-preview__value">
        {{$order->start_address}}&nbsp;&nbsp;
        到&nbsp;&nbsp;{{$order->end_address}}
      </span>
    </div>
  </div>
  <div class="weui-form-preview__ft">
    <!-- <a class="weui-form-preview__btn weui-form-preview__btn_primary" href="{{route('pay',['order_id'=>$order->id])}}">付款</button>
    <a class="weui-form-preview__btn weui-form-preview__btn_default" href="javascript:">取消订单</a> -->
  </div>
</div>
</form>
@endsection